package com.sportschain.app.mine.activity;

import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.sportschain.app.R;
import com.sportschain.app.core.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class LoginActivity extends BaseActivity {

    @BindView(R.id.back_btn)
    TextView mBackBtn;
    @BindView(R.id.login_name_et)
    EditText mLoginNameEt;
    @BindView(R.id.login_pwd_et)
    EditText mLoginPwdEt;
    @BindView(R.id.forget_pwd_btn)
    TextView mForgetPwdBtn;
    @BindView(R.id.login_btn)
    Button mLoginBtn;
    @BindView(R.id.register_btn)
    TextView mRegisterBtn;

    @Override
    public int getLayoutId() {
        return R.layout.activity_login;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {

    }

    @OnClick({R.id.back_btn, R.id.forget_pwd_btn, R.id.login_btn, R.id.register_btn})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.back_btn:
                finish();
                break;
            case R.id.forget_pwd_btn:
                break;
            case R.id.login_btn:
                finish();
                break;
            case R.id.register_btn:
                startActivity(RegisterActivity.class);
                break;
        }
    }
}
